package com.mdp.im.core.scbscriber.api;

import com.mdp.mq.sp.ChannelConfig;
import org.springframework.data.redis.connection.MessageListener;
import org.springframework.data.redis.listener.Topic;

public interface ImChannelConfig extends ChannelConfig {

	public void setMessageListener(MessageListener messageListener, Topic topic);

	public void addMessageListener(String groupId);
	
	public Topic topic(String channelName);

	public void removeMessageListener(MessageListener messageListener, Topic topic) ;

	public void removeMessageListener(MessageListener messageListener);

	public void removeMessageListener(Topic topic) ;

	public void addMessageListener(Topic topic) ;

	public void removeMessageListener(String groupId) ;
}
